import configparser
import os

cf = configparser.ConfigParser()


def get_source_file():
    currentPath = os.path.abspath('config.ini')
    cf.read(currentPath, encoding='utf-8')
    source = cf.get("source", "path").strip()
    return source


def get_out_file():
    currentPath = os.path.abspath('config.ini')
    cf.read(currentPath, encoding='utf-8')
    out = cf.get("out", "path").strip()
    return out